﻿<fieldset>
    <div>
        <table class="table  table-hover table-striped">
            <thead style="font-weight:bold;">
                <tr>
                    <td>资产名称</td>
                    <td>交易时间</td>
                    <td>交易地点</td>
                    <td>成交规则</td>
                    <td>付款方式</td>
                    <td>是否清理数据</td>
                    <td>数据清理方式</td>
                    <td>是否需要营业执照</td>
                    <td>发布人</td>

                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>{{assetSheet.name}}</td>
                    <td>{{assetSheet.planningDeliveryTime | date: 'yyyy-MM-dd'}}</td>
                    <td>{{assetSheet.planningDeliveryAddress}}</td>
                    <td>{{assetSheet.dealRule}}</td>
                    <td>{{assetSheet.payMethod}}</td>
                    <td>{{assetSheet.needDataCleanup}}</td>
                    <td>{{assetSheet.cleanUpMethod}}</td>
                    <!--<td>{{assetSheet.requireCertificate}}</td>-->
                    <td><span ng-show="{{assetSheet.requireCertificate}} == true" class="glyphicon glyphicon-ok"></span><span ng-show="{{assetSheet.requireCertificate}} == false" class="glyphicon glyphicon-remove"></span></td>
                    <td><a href="#/users/{{assetSheet.user[0]._id}}">{{assetSheet.user[0].alias}}</a></td>
                </tr>
            </tbody>
        </table>

    </div>
</fieldset>

<fieldset>
    <div class="alert alert-info" role="alert">资产详情</div>
    <div>
        <table class="table   table-hover table-striped">
            <thead style="font-weight:bold;">
                <tr>
                    <td>类别</td>
                    <td>品牌</td>
                    <td>型号</td>
                    <td>CPU</td>
                    <td>内存</td>
                    <td>硬盘</td>
                    <td>其他配件</td>
                    <td>状态</td>
                    <td>数量</td>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="item in assetSheet.assets">
                    <td>{{item.category}}</td>
                    <td>{{item.brand}}</td>
                    <td>{{item.serial}}</td>
                    <td>{{item.cpu}}</td>
                    <td>{{item.memory}}</td>
                    <td>{{item.harddisk}}</td>
                    <td>{{item.other}}</td>
                    <td>{{item.working}}</td>
                    <td>{{item.number}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</fieldset>

